package com.tony.personalcore.dao;

import java.util.List;

import com.tony.personalcore.dataobject.AccountDO;

public interface AccountDAO {

    public void insert(AccountDO accountDO);

    public AccountDO lockByEmail(String email);

    public List<AccountDO> queryAll();

    public AccountDO queryByEmail(String email);

    public void update(AccountDO accountDO);
}
